﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class SiteMaster : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string[] widgetNames = { "Menu", "Login", "Time", "Main", "Advertising" };
        repeater.DataSource = widgetNames;
        repeater.DataBind();
    }

    protected string GetClientButtonClickHandler(RepeaterItem container)
    {
        return string.Format("function(s, e) {{ ShowWidgetPanel('{0}') }}", container.DataItem);
    }
}
